[INFO] cloning repository https://github.com/annalazarenkova/rt
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/annalazarenkova/rt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fannalazarenkova%2Frt", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fannalazarenkova%2Frt'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d7c068947afdc695d74e89dd9b2e14a64467fe3c
[INFO] checking annalazarenkova/rt against try#1779a8680dcd39c56ed600627cf6742ef07ed78c for pr-149045
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fannalazarenkova%2Frt" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/annalazarenkova/rt
[INFO] finished tweaking git repo https://github.com/annalazarenkova/rt
[INFO] tweaked toml for git repo https://github.com/annalazarenkova/rt written to /workspace/builds/worker-3-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/annalazarenkova/rt on toolchain 1779a8680dcd39c56ed600627cf6742ef07ed78c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/annalazarenkova/rt already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ea1e9fc8c3a60a7486e4c348de1a62cf85330c0e249f55400c84470edffcd579
[INFO] running `Command { std: "docker" "start" "-a" "ea1e9fc8c3a60a7486e4c348de1a62cf85330c0e249f55400c84470edffcd579", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ea1e9fc8c3a60a7486e4c348de1a62cf85330c0e249f55400c84470edffcd579", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ea1e9fc8c3a60a7486e4c348de1a62cf85330c0e249f55400c84470edffcd579", kill_on_drop: false }`
[INFO] [stdout] ea1e9fc8c3a60a7486e4c348de1a62cf85330c0e249f55400c84470edffcd579
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1779a8680dcd39c56ed600627cf6742ef07ed78c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 1efe719e0f58666645310f8184e17ce039797e0e6010db075647ab1755046a85
[INFO] running `Command { std: "docker" "start" "-a" "1efe719e0f58666645310f8184e17ce039797e0e6010db075647ab1755046a85", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.138
[INFO] [stderr]     Checking getrandom v0.2.8
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rt v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `random_in_unit_sphere`
[INFO] [stdout]   --> src/main.rs:16:26
[INFO] [stdout]    |
[INFO] [stdout] 16 | use material::{Material, random_in_unit_sphere, scatter};
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `super::*`
[INFO] [stdout]   --> src/ray.rs:33:9
[INFO] [stdout]    |
[INFO] [stdout] 33 |     use super::*;
[INFO] [stdout]    |         ^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `random_in_unit_sphere`
[INFO] [stdout]   --> src/main.rs:16:26
[INFO] [stdout]    |
[INFO] [stdout] 16 | use material::{Material, random_in_unit_sphere, scatter};
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/hittable.rs:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn hit(&self, r: &Ray, t_min:f32, t_max: f32) -> Option<HitRecord> {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_min`
[INFO] [stdout]   --> src/hittable.rs:36:28
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn hit(&self, r: &Ray, t_min:f32, t_max: f32) -> Option<HitRecord> {
[INFO] [stdout]    |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_max`
[INFO] [stdout]   --> src/hittable.rs:36:39
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn hit(&self, r: &Ray, t_min:f32, t_max: f32) -> Option<HitRecord> {
[INFO] [stdout]    |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `albedo`
[INFO] [stdout]   --> src/material.rs:31:32
[INFO] [stdout]    |
[INFO] [stdout] 31 |         &Material::Dialectric {albedo} =>{ false },
[INFO] [stdout]    |                                ^^^^^^ help: try ignoring the field: `albedo: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `p` is never read
[INFO] [stdout]   --> src/material.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let mut p = Vec3::default();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 44 |         p = Vec3::new(rng.gen::<f32>(), rng.gen::<f32>(), rng.gen::<f32>())*2.0 - Vec3::new(1.0, 1.0, 1.0);
[INFO] [stdout]    |         -------------------------------------------------------------------------------------------------- `p` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v3`
[INFO] [stdout]   --> src/main.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let v3 = v1 + v2;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_v3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut rec = HitRecord::default();
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rec`
[INFO] [stdout]   --> src/main.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut rec = HitRecord::default();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `x` and `z` are never used
[INFO] [stdout]   --> src/vec3.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Vec3 {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn x(self) -> f32 { self.e[0]}
[INFO] [stdout]    |            ^
[INFO] [stdout] 15 |     pub fn y(self) -> f32 { self.e[1]}
[INFO] [stdout] 16 |     pub fn z(self) -> f32 { self.e[2]}
[INFO] [stdout]    |            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Metal` and `Dialectric` are never constructed
[INFO] [stdout]   --> src/material.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum Material {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout]  8 |     Lambertian {albedo: Vec3},
[INFO] [stdout]  9 |     Metal {albedo: Vec3},
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 10 |     Dialectric {albedo: bool},
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Material` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `A` should have a snake case name
[INFO] [stdout]  --> src/ray.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     A: Vec3,
[INFO] [stdout]   |     ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `B` should have a snake case name
[INFO] [stdout]  --> src/ray.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     B: Vec3,
[INFO] [stdout]   |     ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]   --> src/hittable.rs:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn hit(&self, r: &Ray, t_min:f32, t_max: f32) -> Option<HitRecord> {
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_min`
[INFO] [stdout]   --> src/hittable.rs:36:28
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn hit(&self, r: &Ray, t_min:f32, t_max: f32) -> Option<HitRecord> {
[INFO] [stdout]    |                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_min`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `t_max`
[INFO] [stdout]   --> src/hittable.rs:36:39
[INFO] [stdout]    |
[INFO] [stdout] 36 |     fn hit(&self, r: &Ray, t_min:f32, t_max: f32) -> Option<HitRecord> {
[INFO] [stdout]    |                                       ^^^^^ help: if this is intentional, prefix it with an underscore: `_t_max`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `albedo`
[INFO] [stdout]   --> src/material.rs:31:32
[INFO] [stdout]    |
[INFO] [stdout] 31 |         &Material::Dialectric {albedo} =>{ false },
[INFO] [stdout]    |                                ^^^^^^ help: try ignoring the field: `albedo: _`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `p` is never read
[INFO] [stdout]   --> src/material.rs:40:17
[INFO] [stdout]    |
[INFO] [stdout] 40 |     let mut p = Vec3::default();
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^ this value is reassigned later and never used
[INFO] [stdout] ...
[INFO] [stdout] 44 |         p = Vec3::new(rng.gen::<f32>(), rng.gen::<f32>(), rng.gen::<f32>())*2.0 - Vec3::new(1.0, 1.0, 1.0);
[INFO] [stdout]    |         -------------------------------------------------------------------------------------------------- `p` is overwritten here before the previous value is read
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `v3`
[INFO] [stdout]   --> src/main.rs:92:9
[INFO] [stdout]    |
[INFO] [stdout] 92 |     let v3 = v1 + v2;
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_v3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut rec = HitRecord::default();
[INFO] [stdout]    |         ----^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rec`
[INFO] [stdout]   --> src/main.rs:98:9
[INFO] [stdout]    |
[INFO] [stdout] 98 |     let mut rec = HitRecord::default();
[INFO] [stdout]    |         ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rec`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `x` and `z` are never used
[INFO] [stdout]   --> src/vec3.rs:14:12
[INFO] [stdout]    |
[INFO] [stdout]  9 | impl Vec3 {
[INFO] [stdout]    | --------- methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 14 |     pub fn x(self) -> f32 { self.e[0]}
[INFO] [stdout]    |            ^
[INFO] [stdout] 15 |     pub fn y(self) -> f32 { self.e[1]}
[INFO] [stdout] 16 |     pub fn z(self) -> f32 { self.e[2]}
[INFO] [stdout]    |            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Metal` and `Dialectric` are never constructed
[INFO] [stdout]   --> src/material.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  7 | pub enum Material {
[INFO] [stdout]    |          -------- variants in this enum
[INFO] [stdout]  8 |     Lambertian {albedo: Vec3},
[INFO] [stdout]  9 |     Metal {albedo: Vec3},
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout] 10 |     Dialectric {albedo: bool},
[INFO] [stdout]    |     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Material` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `A` should have a snake case name
[INFO] [stdout]  --> src/ray.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     A: Vec3,
[INFO] [stdout]   |     ^ help: convert the identifier to snake case: `a`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: structure field `B` should have a snake case name
[INFO] [stdout]  --> src/ray.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     B: Vec3,
[INFO] [stdout]   |     ^ help: convert the identifier to snake case: `b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.35s
[INFO] running `Command { std: "docker" "inspect" "1efe719e0f58666645310f8184e17ce039797e0e6010db075647ab1755046a85", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1efe719e0f58666645310f8184e17ce039797e0e6010db075647ab1755046a85", kill_on_drop: false }`
[INFO] [stdout] 1efe719e0f58666645310f8184e17ce039797e0e6010db075647ab1755046a85
